/*
基本类型：Number,String,Boolean,null undefined
复杂类型：Array,Object,Function
*/
// 联合类型  类型1 | 类型2
let xxx: number | string = 10
xxx = 'hello'
const arr: (number | string)[] = [1, 2, 3]
arr[0] = 'hello'

export {}
